<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>我的主页</title>
    {include file="../application/common/view/index/header_link.html" /}
    <link rel="stylesheet" type="text/css" href="/static/css/me.css" >
    <script type="text/javascript" src="/static/js/me.js"></script>
</head>
<body>
<div class="container-fluid">
    {include file="../application/common/view/index/header.html" /}
    <div class="main">
        <section>
            <div class="main-aside">
                <div class="list-group" id="button-wrap">
                    <button type="button" class="list-group-item list-group-item-action" onclick="show1()">个人资料</button>
                    <button type="button" class="list-group-item list-group-item-action" onclick="show2()">我的收藏</button>
                </div>
            </div>
            <div class="main-article">
                <div class="me_info">
                    <div id="article-main1" style="width: 100%; min-height: 785px; display: block;">
                        <div class="main-article-info">
                            <div class="main-article-info-top">
                                <h4><b>个人资料</b></h4>
                                <div class="dropdown-divider"></div>
                            </div>
                            <div class="main-article-info-left">
                                <div class="card">
                                    <img src="__IMAGE__/头像/头像.jpg" class="card-img-top" alt="">
                                </div>
                                <div class="card-body">
                                    <a href="" style="color: #00F7DE;"> 修改头像</a>
                                </div>
                            </div>
                            <div id="main-article-info-right" class="main-article-info-right" style="display: block;">
                                <div class="homepage" ><a href="" style="color: #00F7DE;">个人主页></a> </div>
                                <div class="update_data"><button type="button" onclick="show3()" class="btn btn-info">修改资料</button></div>
                                <p>账号:{$data.username}</p>
                                <p><span>关注： 粉丝： </span></p>
                                <div class="dropdown-divider"></div>
                                <p>邮箱： {$data.email}</p>
                                <p>创建时间： {$data.create_time}</p>
                                <p>昵称： {$list.pat_name}</p>
                                <p>姓名： {$list.name}</p>
                                <p>性别： {$list.sex}</p>
                                <p>年龄： {$list.age}</p>
                                <p>简介： {$list.introduce}</p>
                            </div>
                            <div id="main-article-info-right-two" class="main-article-info-right-two" style="display: none;">
                                <form method="post" action="/blog/me/update_data">
                                    <p>昵称：</p><input name="pat_name" class="form-control" type="text" value="{$list.pat_name}" style="width: 200px; height: 30px;">
                                    <p>姓名：</p><input name="name" class="form-control" type="text" value="{$list.name}" style="width: 200px; height: 30px;">
                                    <p>性别：</p>
                                    <label for="maie">男</label>
                                    <input type="radio" name="sex" id="maie" value="1" checked/>
                                    <label for="female">女</label>
                                    <input type="radio" name="sex" id="female" value="0" />
                                    <p>年龄：</p><input name="age" class="form-control" type="text" value="{$list.age}" style="width: 200px; height: 30px;">
                                    <p>简介：</p>
                                    <textarea name="introduce" cols="30" rows="5" >说点什么吧</textarea>
                                    <p><button type="button" class="btn btn-info" onclick="show4()">取消</button><button type="submit" class="btn btn-info">保存</button></p>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
                <div id="article-main2" style="width: 100%; min-height: 785px; border:1px solid #000000; display: none;">
                    我的收藏
                </div>
            </div>
        </section>
    </div>
    {include file="../application/common/view/index/footer.html" /}
</div>
</body>
{include file="../application/common/view/index/footer_link.html" /}
</html>